﻿
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="x-ua-compatible" content="ie=7" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>

</title>
<link href="/css/css_global.css" rel="stylesheet" type="text/css" /><link href="/css/css_LR_common.css" rel="stylesheet" type="text/css" />

    <script src="/js/AdminPublic.js" type="text/javascript"></script>

    <script src="/js/jquery1.3.2.min.js" type="text/javascript"></script>

    
    <link href="/CSS/css_register.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
        var imgA = 0;
        $(function() {
            $("#spanRef").click(function() {
                imgA++;
                $("#verifycode").attr("src", "/public/CreateValidate.aspx?stype=img&name=mLogin&r=" + imgA);
            });
            $("#sub_reg").click(function() {
                var name = $.trim($("#txtID").attr("value")).replace(" ", ""); //取出空格
                var m1 = $.trim($("#txtP1").attr("value")).replace(" ", ""); //取出空格，请注意空格替换一定不可以去除
                var m2 = $.trim($("#txtP2").attr("value"));
                if (name.length <= 0) {
                    alert("请输入需要注册的会员名");
                    $("#txtID").focus();
                    return false;
                }

                if (m1.length <= 0) {
                    alert("请输入您的登录密码");
                    $("#txtP1").focus();
                    return false;
                }

                if (m1 != m2) {
                    alert("您输入的登录密码和确认密码不一致");
                    $("#txtP1").focus();
                    return false;
                }

                var sss = $.getJSON("/public/CreateValidate.aspx?stype=code&name=mLogin&r=", function(json) {
                    var v = json["Msg"].toLowerCase();
                    var txtV = $("#txtYZ").attr("value").toLowerCase();
                    if (v != txtV) {
                        alert("验证码不正确");
                    } else {
                        $.getJSON("/user/userfunction.aspx?stype=1", { p1: name, p2: m1 }, function(json) {
                            if (json.success == "False") {
                                alert(json.Msg);
                            } else {
                                location.replace("new_register_callback.aspx?msg=" + json.Msg);
                            }
                        });
                    }
                });
            });
        });
    </script>

</head>
<body>
    <form name="aspnetForm" method="post" action="new_register.aspx" id="aspnetForm">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJODk5OTg5MTY2ZGQ2EcYoyGxn0Df5iQSHVdZR6y14Gg==" />

    <div id="container">
        

<script language="javascript" type="text/javascript">
    $(function() {
        $.getJSON("/user/userfunction.aspx?stype=0&", function(json) {
            if (json.success == "False") {
                $("#header_left").html("<a href=\"/user/login.html\">请登录</a>|<a href=\"/user/new_register.html\">注册</a>|<a href=\"/user/new_register.aspx\">密码找回？</a> ");
                $("#header_right").html("<a href=\"/index.html\">首页</a> | <a href=\"index.aspx\">帮助中心</a> | <a href=\"index.aspx\">网站导航</a> ");
                return false;
            } else {
                $("#header_left").html(json.Msg);
                $("#header_right").html("<a href=\"/index.html\">首页</a> | <a href=\"index.aspx\">我的xx</a> | <a href=\"index.aspx\">我的收藏</a> | <a href=\"index.aspx\">帮助中心</a> | <a href=\"index.aspx\">网站导航</a> ");
                return true;
            }

        });
    });

</script>

<div id="topBG">
    <div id="header_left">欢迎来到ｘｘｘｘｘ！！！
    </div>
    <div id="header_right">
    </div>
</div>


        <span id="top_logo"></span>
        
    <div id="red_septal_red">
        <img src="/images/login_register/new_register_menu1.gif" /></div>
    <div id="content_left">
        <div id="input_content">
            <div class="out">
                会员名：<input type="text" class="input_txt" id="txtID" /></div>
            <div class="out">
                登录密码：<input type="password" class="input_txt" id="txtP1" /></div>
            <div class="out">
                确认密码：<input type="password" class="input_txt" id="txtP2" /></div>
            <div class="out">
                <div style="float: left; width: 165px;">
                    验证码：<input type="text" class="input_txt_check" id="txtYZ"  /></div>
                <div id="check_img">
                    <img id="verifycode" src="/public/CreateValidate.aspx?stype=img&name=mLogin" /></div>
            </div>
        </div>
        <div id="not_clear">
            看不清楚？ <font color="#3366cc" id="spanRef" style="cursor: pointer">换一张</font>
        </div>
        <div id="btn_postion">
            <input type="button" class="btn_register" id="sub_reg" />
            <div id="pact">
                <a href=""><font color="#3366cc">《华股网服务条款》</font></a></div>
        </div>
        
        
    </div>
    <div id="content_right">
        <img src="/images/login_register/new_register_AD.gif" />
    </div>

        

        
<div id="bottom_nav">
    <a href="">关于我们</a> | <a href="">免责声明</a> | <a href="">商务合作</a> | <a href="">意见建议</a>
    | <a href="">招聘信息</a> | <a href="">联系方式</a>
</div>
<div id="announce">
    声明：华股网所载文章、数据仅供参考，使用前请核实，风险自负
    <br />
    Copyright © 2010 华股网 All Rights Reserved 版权所有 复制毕竟 京ICP备032145671号
</div>
<div id="credit">
    <a>
        <img src="/images/credit_01.gif" /></a> <a>
            <img src="/images/credit_02.gif" /></a> <a>
                <img src="/images/credit_01.gif" /></a> <a>
                    <img src="/images/credit_02.gif" /></a> <a>
                        <img src="/images/credit_01.gif" /></a>
</div>

    </div>
    </form>
</body>
</html>

